package cn.tedu.health.mapper;

import cn.tedu.health.pojo.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    void insert(User user);
    User findByEmail(String email);
    User findByPhone(String phone);
    User findByUsername(String username);
    void update(User user);
    User findById(Long id);
}
